package com.dime.basic.api.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import java.util.List;

/**
 * 体检细项管理对象 dime_baseitem
 *
 * @author Tiny
 * @date 2023-11-08
 */
public class DimeBaseitem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private String id;

    /** 项目编码 */
    @Excel(name = "项目编码")
    private String itemCode;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String itemName;

    /** 项目类型 */
    @Excel(name = "项目类型")
    private String itemType;

    /** 判断方式 */
    @Excel(name = "判断方式")
    private String judgeType;

    /** 最大值 */
    @Excel(name = "最大值")
    private String valmax;

    /** 最小值 */
    @Excel(name = "最小值")
    private String valmin;

    /** 标准值 */
    @Excel(name = "标准值")
    private String valStandard;

    /** 默认值 */
    @Excel(name = "默认值")
    private String valDefault;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 排序 */
    @Excel(name = "排序")
    private Long sn;

    /** 偏低描述 */
    @Excel(name = "偏低描述")
    private String lwstr;

    /** 偏高描述 */
    @Excel(name = "偏高描述")
    private String histr;

    /** 接口编码 */
    @Excel(name = "接口编码")
    private String interfaceCode;

    /** 接口名称 */
    @Excel(name = "接口名称")
    private String interfaceName;

    /**  */
    @Excel(name = "")
    private String interfaceMethod;

    /**  */
    @Excel(name = "")
    private String deviceName;

    /**  */
    @Excel(name = "")
    private Integer IsValid;

    /** 主检显示 */
    @Excel(name = "主检显示")
    private String showMaincheck;

    /** 显示名称 */
    @Excel(name = "显示名称")
    private String showitemName;

    /** 特殊项目 */
    @Excel(name = "特殊项目")
    private String specialitem;

    /** 项目计算公式 */
    @Excel(name = "项目计算公式")
    private String formula;

    private List<DimeBaseitemextend> dimeBaseitemextendList;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setItemCode(String itemCode)
    {
        this.itemCode = itemCode;
    }

    public String getItemCode()
    {
        return itemCode;
    }
    public void setItemName(String itemName)
    {
        this.itemName = itemName;
    }

    public String getItemName()
    {
        return itemName;
    }
    public void setItemType(String itemType)
    {
        this.itemType = itemType;
    }

    public String getItemType()
    {
        return itemType;
    }
    public void setJudgeType(String judgeType)
    {
        this.judgeType = judgeType;
    }

    public String getJudgeType()
    {
        return judgeType;
    }
    public void setValmax(String valmax)
    {
        this.valmax = valmax;
    }

    public String getValmax()
    {
        return valmax;
    }
    public void setValmin(String valmin)
    {
        this.valmin = valmin;
    }

    public String getValmin()
    {
        return valmin;
    }
    public void setValStandard(String valStandard)
    {
        this.valStandard = valStandard;
    }

    public String getValStandard()
    {
        return valStandard;
    }
    public void setValDefault(String valDefault)
    {
        this.valDefault = valDefault;
    }

    public String getValDefault()
    {
        return valDefault;
    }
    public void setUnit(String unit)
    {
        this.unit = unit;
    }

    public String getUnit()
    {
        return unit;
    }
    public void setSn(Long sn)
    {
        this.sn = sn;
    }

    public Long getSn()
    {
        return sn;
    }
    public void setLwstr(String lwstr)
    {
        this.lwstr = lwstr;
    }

    public String getLwstr()
    {
        return lwstr;
    }
    public void setHistr(String histr)
    {
        this.histr = histr;
    }

    public String getHistr()
    {
        return histr;
    }
    public void setInterfaceCode(String interfaceCode)
    {
        this.interfaceCode = interfaceCode;
    }

    public String getInterfaceCode()
    {
        return interfaceCode;
    }
    public void setInterfaceName(String interfaceName)
    {
        this.interfaceName = interfaceName;
    }

    public String getInterfaceName()
    {
        return interfaceName;
    }
    public void setInterfaceMethod(String interfaceMethod)
    {
        this.interfaceMethod = interfaceMethod;
    }

    public String getInterfaceMethod()
    {
        return interfaceMethod;
    }
    public void setDeviceName(String deviceName)
    {
        this.deviceName = deviceName;
    }

    public String getDeviceName()
    {
        return deviceName;
    }
    public void setIsValid(Integer IsValid)
    {
        this.IsValid = IsValid;
    }

    public Integer getIsValid()
    {
        return IsValid;
    }
    public void setShowMaincheck(String showMaincheck)
    {
        this.showMaincheck = showMaincheck;
    }

    public String getShowMaincheck()
    {
        return showMaincheck;
    }
    public void setShowitemName(String showitemName)
    {
        this.showitemName = showitemName;
    }

    public String getShowitemName()
    {
        return showitemName;
    }
    public void setSpecialitem(String specialitem)
    {
        this.specialitem = specialitem;
    }

    public String getSpecialitem()
    {
        return specialitem;
    }
    public void setFormula(String formula)
    {
        this.formula = formula;
    }

    public String getFormula()
    {
        return formula;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("itemCode", getItemCode())
                .append("itemName", getItemName())
                .append("itemType", getItemType())
                .append("judgeType", getJudgeType())
                .append("valmax", getValmax())
                .append("valmin", getValmin())
                .append("valStandard", getValStandard())
                .append("valDefault", getValDefault())
                .append("unit", getUnit())
                .append("sn", getSn())
                .append("lwstr", getLwstr())
                .append("histr", getHistr())
                .append("interfaceCode", getInterfaceCode())
                .append("interfaceName", getInterfaceName())
                .append("interfaceMethod", getInterfaceMethod())
                .append("deviceName", getDeviceName())
                .append("remark", getRemark())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .append("IsValid", getIsValid())
                .append("showMaincheck", getShowMaincheck())
                .append("showitemName", getShowitemName())
                .append("specialitem", getSpecialitem())
                .append("formula", getFormula())
                .toString();
    }

    public List<DimeBaseitemextend> getDimeBaseitemextendList() {
        return dimeBaseitemextendList;
    }

    public void setDimeBaseitemextendList(List<DimeBaseitemextend> dimeBaseitemextendList) {
        this.dimeBaseitemextendList = dimeBaseitemextendList;
    }
}